package com.samtech.web.vo;


/**
 * @title HTTP请求回调
 */

public class HttpResult {
	private boolean state=true;//返回结果:True。成功,False.失败
	private String message;//失败原因
	private Object data;//对象

	public HttpResult() {}

	public HttpResult(boolean state, String message, Object data) {
		this.state = state;
		this.message = message;
		this.data = data;
	}

	public boolean getState() {
		return state;
	}

	public void setState(boolean state) {
		this.state = state;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public Object getData() {
		return data;
	}

	public void setData(Object data) {
		this.data = data;
	}
}
